package com.happycat.social.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;


/**
 * 麦位save dto
 * 
 * @author jsonbin
 * @date 2020-09-10
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
public class SocialVoiceRoomWheatSaveDto {

    @ApiModelProperty(value = "房间id,平台房间id")
    @NotNull(message = "房间不能为空")
    private Long svrId;

    @ApiModelProperty(value = "麦位编号")
    @NotNull(message = "麦位编号不能为空")
    @Range(min = 1, max = 8, message = "麦位序号范围1~8")
    private Integer sort;

    @ApiModelProperty(value = "麦位名称")
    private String name;

    @ApiModelProperty(value = "额外字段，可由前端自定义, 如性别")
    private String ext1;

    @ApiModelProperty(value = "额外字段，可由前端自定义, 如Boss位")
    private String ext2;

}
